MCQ Answer

Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?

Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?

मान लीजिए कि लिस्ट 1 है [2, 33, 222, 14, 25], लिस्ट 1 [-1] क्या है?
Topic : Sequence data types in python

A. Error एरर

B. None कोई नहीं

C. 25

D. 2




Correct Answer is :

C. 25



Explanation
1 corresponds to the last index in the list.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz